﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Donate.DAl;




namespace Donate
{
    public partial class TestForm1 : Form
    {
        public TestForm1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {

            userNameEntity d = new userNameEntity();
     
            d.ID="ddd";
            d.user_Name = "ddd";
            if (userNames.insert(d) == true)
            {
                MessageBox.Show("Done");

            }


            //dataGridView1.DataSource = DonHistory.GetAll();
            //DonatesEntity d = new DonatesEntity();
            //if(Donates.Delete(d.Id))
            //{
            //    MessageBox.Show("done");
            //}

        }

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            
        }
    }
}
